<?php
define("BASE_URL","http://localhost/quanly");
if($_COOKIE['lang'] == "en"){
	require("languages/en/global.php");	
}else{
	require("languages/vn/global.php");	
}

require("libraries/database.php");
require("libraries/function.php");
switch($_GET['module']){
	case "product":
	require("controllers/product/controller.php");
	break;
	
	default:
	require("controllers/product/controller.php");
	break;
	
}
